package com.jili.enums;

import lombok.Getter;

/**
 * ClassName: CommonEnum
 * Package com.jili.stream.pojo
 * Description:
 *
 * @Author: 廖继礼
 * @Create: 2024/2/11
 * @Version: v1.0
 */
@Getter
public enum CommonEnum {

    SUCCESS(200,"成功"),

    FAILED(500, "内部错误");

    private final Integer code;

    private final String message;

    CommonEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
